﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"
>
  <xsl:output method="html" indent="yes"/>
  <xsl:variable name="numeroSecuencial"></xsl:variable>
    <xsl:template match="@* | node()">
    <!--<xsl:copy>
            <xsl:apply-templates select="@* | node()"/>
        </xsl:copy>-->
    <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      </head>
      <body>
        <table style="font-size: 8pt; padding: 2; font-family: Verdana; width:900px"  id="resumenreferencias">
          <tr>
            <td align="center" colspan="4">
              <b>
                <font face="Arial" color="#00418c" size="3">Informe de Core Bancario</font>
              </b>
            </td>
          </tr>
          <tr>
            <td style="background-color: #00418C" align="center" colspan="5">
              <b>
                <font face="Arial" color="#ffffff" size="2">
                  <strong>
                    ------------------------------------------------------------------------------------Resumen
                    de CoreBancario-------------------------------------------------------------------------------------------------
                  </strong>
                </font>
              </b>
            </td>
          </tr>
          <tr style="background-color: Gainsboro;">
            <td align="center">
              <font color="#00418C"># Relación</font>
            </td>
            <td align="center">
              <font color="#00418C">Nombre</font>
            </td>
            <td align="center">
              <font color="#00418C">Apellido</font>
            </td>
            <td align="center">
              <font color="#00418C">Estado</font>
            </td>
            <td align="center">
              <font color="#00418C">Descripción</font>
            </td>
          </tr>
          <xsl:for-each select="RESUMENES/RESUMEN">
            <tr>
              <!--<xsl:copy-of select="$numeroSecuencial + 1"/>-->
            <td align="center">
              <!--<xsl:value-of select="$numeroSecuencial + 1"/>-->
              <xsl:value-of select="position()"/>
            </td>
            <td align="center">
              <xsl:value-of select="Nombre"/>
            </td>
            <td align="center">
              <xsl:value-of select="Apellido"/>
            </td>
            <td align="center">
              <xsl:value-of select="Estado"/>
            </td>
            <td align="center">
              <xsl:value-of select="Valor"/>
            </td>
          </tr>
          </xsl:for-each>
        </table>
      </body>
    </html>
  </xsl:template>
</xsl:stylesheet>
